const common = {
    state: {
        STATE: null,
        SNB: null
    },

    mutations: {
        SET_STATE: (state, options) => {
            state.STATE = options;
        },
        SET_SNB: (state, options) => {
            state.SNB = options;
        }
    },

    actions: {
        GET_STATE({
            commit
        }, data) {
            commit("SET_STATE", data);
        },
        GET_SNB({
            commit
        }, data) {
            commit("SET_SNB", data);
        }
    }
};

export default common;